#include <kanzi/core/platform/log/android/android_logger.hpp>
Protected Member Functions | |
virtual void | writeOverride (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) KZ_OVERRIDE |
See kanzi::AbstractLogger::writeOverride. More... | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::AbstractLogger | |
void | write (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) |
Kanzi calls this function to store the message to the log. More... | |
virtual | ~AbstractLogger () |
Destructor. More... | |
This is a logger class that writes log messages to Android system log.
|
protectedvirtual |
See kanzi::AbstractLogger::writeOverride.
The messages with level
= LogLevelError are prepended with fileName
and lineNumber
.
level | The log level of the message. |
levelName | The string representation of log level. |
categoryName | The string representation of log category. |
fileName | The name of the file log message is originated from. |
lineNumber | The line number of the place in file where log message is originated. |
message | The message being written to the log. |
Implements kanzi::AbstractLogger.